/**
 * 
 */
package us.gaaoc.framework.dao;

import us.gaaoc.framework.model.Address;
import us.gaaoc.framework.model.AddressType;
import us.gaaoc.framework.model.Person;
import us.gaaoc.framework.model.PersonAddress;

/**
 * @author Sukhada
 *
 */
public interface PersonAddressDAO extends GenericDAO<PersonAddress, String>{
	
	public abstract PersonAddress findPersonAddress(Person p, String addressUuid);
	/**
	 * @param person
	 * @param addressType
	 * @return
	 */
	public abstract Address findAddress(Person person, AddressType addressType);
	
	public abstract int updatePersonAddressType(String personAddressUuid, 
			AddressType addressType);

	public PersonAddress findPersonAddress(Person p);
	
}
